import request from '@/utils/request'

// 获取自提点类型列表
export function getTakeLocationTypeList(storeFlag) {
  return request({
    url: '/system/takeLocationType/pagingAllList',
    method: 'get',
    params: {
      takeTypeCategoryId: storeFlag
    }
  })
}
// 获取自提点类型信息
export function getTakeLocationType(takeLocationTypeId) {
  return request({
    url: '/system/takeLocationType/getTakeLocationTypeInfo/' + takeLocationTypeId,
    method: 'get'
  })
}
